Release 10.1A: OpenEdge Development:
Programming Interfaces


Configuring a SAX-writer

The next step is to set the values that control how the write will occur. Some steps you may want to follow:

Here is an example:

DEFINE VARIABLE hSAXWriter AS HANDLE. 
DEFINE VARIABLE lok AS LOGICAL. 
CREATE SAX-WRITER hSAXWriter. 
hSAXWriter:FORMATTED = TRUE. 
lok = hSAXWriter:SET-OUTPUT-DESTINATION("file", "sw-example.xml"). 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095